package com.devilvan.betrice.request.pojo;

import com.devilvan.betrice.proxy.BetriceHttpProxy;
import com.devilvan.betrice.request.BetriceHttpBuilder;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.apache.http.client.CredentialsProvider;
import org.apache.http.client.methods.HttpRequestBase;

import java.util.Map;

/**
 * @author Evad.Wu
 * @Description 由 {@link BetriceHttpBuilder}构建的HttpClient对象
 * @date 2022-11-21
 */
@Slf4j
@Data
@AllArgsConstructor
public class BetriceHttpClient {
    /**
     * 请求对象
     */
    private HttpRequestBase httpRequest;
    /**
     * 请求对象的头信息
     */
    private Map<String, String> headers;
    /**
     * 代理对象
     */
    private BetriceHttpProxy httpProxy;
    /**
     * 代理对象的证书
     */
    private CredentialsProvider credentialsProvider;
}
